<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/plantillas/plantillaPrincipal.xhtml">
        <ui:define name="contenido">
            <f:view>
                <h:form>
                    <h:panelGrid columns="1" style="width: 70%;margin: 0px auto;">
                        <p:commandButton id="btnNuevoCourier" action="#{MBCourier.nuevo()}" value="AGREGAR COURIER" ajax="false" />
                    </h:panelGrid> 
                </h:form>
                <h:form id="formBusquedaCouriers">
                    <p:tabView id="tabBusquedaCouriers"  style="width:100%;margin: 5px auto" >  

                        <p:tab title="CONSULTAR" id="tab1" > 
                            <ui:include src="consultar.xhtml"/>
                        </p:tab>

                        <p:tab id="tab2" title="REPORTE"  >  
                            <ui:include src="reporte.xhtml"/>
                        </p:tab> 


                    </p:tabView> 
                    
                </h:form>
            </f:view>
        </ui:define>
    </ui:composition>

</html>